#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>

#include "../network/Network.h"
#include "Controller.h"

//using namespace Network;

namespace Ui
{
	class MainWindow;
}

class MainWindow : public QMainWindow
{
	Q_OBJECT

public:
	MainWindow(QWidget *parent = 0);
	~MainWindow();

protected:
	void closeEvent(QCloseEvent *event);

private:
	Ui::MainWindow *ui;

	Server::Controller scontroller;
	Network::Controller ncontroller;


private slots:
	void on_pushButton_clicked();
};

#endif // MAINWINDOW_H
